package com.hospital.demo.service.impl.zhangweibo;


import com.hospital.demo.mapper.zhangweibo.SalarymanageMapper;
import com.hospital.demo.model.zhangweibo.Salarymanage;
import com.hospital.demo.service.zhangweibo.SalarymanageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SalarymanageServiceImpl implements SalarymanageService {
    @Autowired
    SalarymanageMapper salarymanageMapper;

    @Override
    public List<Salarymanage> SelectAllSalary() {
        return salarymanageMapper.SelectAllSalary();
    }

    @Override
    public Integer InsertSalary(Salarymanage salarymanage) {
        return salarymanageMapper.InsertSalary(salarymanage);
    }
}
